package com.g1.gzbooksingle.service.impl;

import com.g1.gzbooksingle.model.DgCardSale;
import com.g1.gzbooksingle.mapper.DgCardSaleMapper;
import com.g1.gzbooksingle.service.IDgCardSaleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 卡券表 服务实现类
 * </p>
 *
 * @author admin
 * @since 2021-10-12
 */
@Service
public class DgCardSaleServiceImpl extends ServiceImpl<DgCardSaleMapper, DgCardSale> implements IDgCardSaleService {
    @Autowired
    private DgCardSaleMapper dgCardSaleMapper;

    @Override
    public List<DgCardSale> getCarSale() {
        return dgCardSaleMapper.selectAll();
    }
}
